namespace Web.Bff.Models;

public sealed record BasketItemResponse(
    string ProductId,
    string ProductName,
    decimal UnitPrice,
    int Quantity);

public sealed record BasketResponse(
    IReadOnlyCollection<BasketItemResponse> Items,
    decimal Total,
    DateTime UpdatedAt);

public sealed record BasketUpsertItemRequest(
    string ProductId,
    string ProductName,
    decimal UnitPrice,
    int Quantity);

public sealed record BasketUpsertRequest(
    IReadOnlyCollection<BasketUpsertItemRequest> Items);
